<?php

echo doctype('html5');

echo '
<html>
<head>';
echo '<title>{site_title}</title>';
$meta = array(
        array('name' => 'Content-type', 'content' => 'text/html; charset=utf-8', 'type' => 'equiv'),
        array('name' => 'description', 'content' => '{site_description}'),
        array('name' => 'keywords', 'content' => '{site_keywords}'),
        array('name' => 'author', 'content' => 'Dadan Setia')
    );

echo meta($meta); 
echo link_tag('favicon.ico', 'icon', 'image/x-icon');

echo link_tag(array('href' => 'css/style.css', 'rel' => 'stylesheet', 'type' => 'text/css', 'media' => 'all'));

//echo link_tag(array('href' => 'css/jquerylightbox.css','rel' => 'stylesheet','type' => 'text/css','media' => 'screen'));
//echo link_tag(array('href' => 'css/jqueryui.css','rel' => 'stylesheet','type' => 'text/css','media' => 'screen'));

echo '
	
	<script type="text/javascript" src="{base_url}js/jquery.min.js">
	</script>
	<script type="text/javascript" src="{base_url}js/jqueryui.min.js">
	</script>
	<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-50d1d7924597ae3d">
	</script>
	<script type="text/javascript" src="https://www.google.com/jsapi">
	</script>
	<script type="text/javascript">
		var urlimg = "{base_url}images";
		
		 google.load("webfont", "1");

		  google.setOnLoadCallback(function() {
			WebFont.load({
			  google: {
				families: [ \'Shanti\',\'Fresca\' ]
			  }});
		  });
		  
		  (function() {
			var cx = \'008597577271884212344:cfrdfxtk93i\';
			var gcse = document.createElement(\'script\'); gcse.type = \'text/javascript\'; gcse.async = true;
			gcse.src = (document.location.protocol == \'https\' ? \'https:\' : \'http:\') +
				 \'//www.google.com/cse/cse.js?cx=\' + cx;
			var s = document.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(gcse, s);
		  })();
	</script>
	

	<script type="text/javascript">
		
		var $jq = jQuery.noConflict();
		 
		
		 
		$jq(document).ready(
			function(){
				
				$jq("#kategori").load("{base_url}main/kategori?lihat=umum #ambilkategori");
				
				$jq("#blogupdate").load("{base_url}main/blog #update");
				
				
				
				if ($jq(window).scrollTop() == 0) {
						$jq("#keAtas").fadeOut(1000);
				}
				$jq(window).scroll(function() {
						if ($jq(this).scrollTop() != 0) {
								$jq("#keAtas").fadeIn();
								
						} else {
								$jq("#keAtas").fadeOut();
						}
				});
				
				$jq("#keAtas").click(function(event) {
						event.preventDefault();
						$jq("html,body").animate({scrollTop: 0},2000);
				});
				
				$jq(".jqlink").click(function(){
					var jqurl = $jq(this).attr(\'href\');
					$jq("#rightcontent").load(jqurl+" #isiright");
					
					return false;
				});
				
				var linklapor = $jq("#lapor").val();
				$jq("#lapor").click(function(){
					$jq("#laporkan").load(linklapor+" #content2").dialog({
						height: 140,
						modal: true,
						 close: function(event,ui){
							 $jq("laporkan").dialog("destroy");

							}
					});
				return false;	
				});
				
				
			}
		);
		
	
	</script>
	{other_head}
</head>
<body>
';

echo '	
	<div id="atas">
		
		<img alt="logo" src="{base_url}images/logoo.png" class="headlogo" />
		
		<div class="headtitle">
			<h1>Dadan Network</h1>
			<h4>Official Dadan Network Site</h4>
		</div>
		
		
	</div>
	
	<div id="atas2">
		<div class="headmenu">
			<a href="{base_url}main">Home</a>
			<a href="{base_url}main/profil.html">Tentang</a>
			<a href="{base_url}main/usaha.html">Usaha</a>
			<a href="{base_url}main/produk.html">Produk</a>
			<a href="{base_url}main/kontak.html">Kontak</a>
			<a href="{base_url}main/login.html">Login</a>
		</div>
	</div>


	<div id="container">
		
		<div id="spaceup"></div>
		
		<div id="tengah">
			<table>
				<tbody>
								
				<tr>
					<td>
						<div id="leftcontent">
							<div id="isileft">
								
								<div class="leftitem">
									
									<h4>Pencarian</h4><br />
																		
									<div id="pencarian">
										<gcse:searchbox-only resultsUrl="{base_url}main/search.html"></gcse:searchbox-only>
									</div>
									
								</div>
								
								<div class="linebrown"></div>
								
								<div class="leftitem">
									
									<h4>Link</h4>
									
									<a href="{base_url}">Home</a><br />
									<a href="http://blog.dadannetwork.com" target="_blank">Blog</a><br />
									<a href="{base_url}main/usaha.html">Usaha</a><br />
									<a href="{base_url}main/produk.html">Produk</a><br />
									<a href="{base_url}main/loker.html">Info Lowongan</a><br />
									<a href="{base_url}main/acara.html">Event</a><br />
									
								</div>
								
								<div class="linebrown"></div>
								
								<div class="leftitem">
								
									<h4>Kategori</h4>
								
									<div id="kategori">
									</div>
									
									<br /><a href="{base_url}main/kategori.html">Semua Kategori</a>
									
								</div>
								
								<div class="linebrown"></div>
								
								
								
								<div class="leftitem">
									<a target="_blank" href="http://fb.me/DadanNetwork.inc"><img alt="Facebook" src="{base_url}images/facebook_icon.gif" /></a>
									<a target="_blank" href="http://twitter.com/dadannetwork"><img alt="Twitter" src="{base_url}images/twitter_icon.gif" /></a>
									<a target="_blank" href="https://plus.google.com/102176436753176433720"><img alt="Gplus" src="{base_url}images/gplus_icon.png" /></a>
									<a target="_blank" href="http://www.linkedin.com/company/dadan-network"><img alt="LinkedIn" src="{base_url}images/linkedin_icon.gif" /></a>
									
								</div>
								
							</div>
							
							
						</div>
						
						<div id="rightcontent">
							<div id="isiright">
								
								<div id="mapdir">{map_dir}</div>
								
								<div class="share">
																	
									<!-- AddThis Button BEGIN -->
									
									
									<script type="text/javascript">
										var addthis_config = {"data_track_addressbar":true};
										addthis.button(".addthis_button");
									</script>
									
									<!-- AddThis Button END -->
									
								</div>
								
									{isi_page}
								
								<div class="linebrown"></div>
								<div class="share">
																		
									<script type="text/javascript">
										addthis.button(".addthis_button");
									</script>
								</div>
								<br>
								<div class="blank"></div>
								
							</div>
						</div>
						
					</td>
				</tr>
				
				<tr>
					<td>
						<div id="menubawah">
							<a href="{base_url}main">Home</a> | 
							<a href="{base_url}main/profil.html">Tentang Kami</a> | 
							<a href="{base_url}main/kebijakan.html">Kebijakan dan Privasi</a> | 
							<a href="{base_url}main/masukan.html">Kirim Masukan</a> 
						</div>
					</td>
				</tr>
				</tbody>
			</table>
		</div>
		
		<div id="keAtas"><a href="#atas"><img alt="atas" src="{base_url}images/keatas.png" /></a></div>
		<!-- right coy -->
		
		
	</div>
	
	
	<div id="bawah">
		<div class="linered"></div>
		<p>
			&copy; {tahun_sekarang} <a href="{base_url}">Dadan Network</a><br />
			Developed By : <a target="_blank" href="https://plus.google.com/108266905107680659886?rel=author">Dadan</a> <a href="http://www.facebook.com/dadan.setia">Setia</a>
		</p>
	</div>
	
	<!-- end of Content coy -->
	
	
	<!-- Fb -->
	<div id="fb-root"></div>
	<script type="text/javascript">(function(d, s, id) {
		  var js, fjs = d.getElementsByTagName(s)[0];
		  if (d.getElementById(id)) return;
		  js = d.createElement(s); js.id = id;
		  js.src = "//connect.facebook.net/id_ID/all.js#xfbml=1&appId=176810195713197";
		  fjs.parentNode.insertBefore(js, fjs);
		}(document, \'script\', \'facebook-jssdk\'));
	
	</script>
	';
	
	$this->load->view('main/maintenance',TRUE);
	
echo '	
	<!-- {elapsed_time} {memory_usage} -->
</body>
</html>
';

/* End of file home.php */
/* Location: ./application/views/home.php */
